package com.zdft.promotion.test.api;

import com.zdft.esb.annotation.EsbClass;
import com.zdft.esb.annotation.EsbMethod;
import com.zdft.promotion.common.vo.QueryRpcResultVO;
import com.zdft.promotion.warerepository.dto.WareRepositorysDto;
import com.zdft.promotion.warerepository.model.WareRepositorysRpcFilterModel;

import java.util.List;

@EsbClass("com.zdft.promotion.test.api.WarehouseApi")
public interface WarehouseApi {

//    @EsbMethod(value = "WarehouseApiTest")
//    int test();
//
//    @EsbMethod(value = "queryRpcPageTest")
//    QueryRpcResultVO<WareRepositorysDto> queryRpcPageTest(WareRepositorysRpcFilterModel wareRepositorysRpcFilterModel);

    @EsbMethod(value = "queryRpcPage")
    QueryRpcResultVO<WareRepositorysDto> queryRpcPage(WareRepositorysRpcFilterModel wareRepositorysRpcFilterModel);

    @EsbMethod(value = "queryRpcList")
    List<WareRepositorysDto> queryRpcList(WareRepositorysRpcFilterModel wareRepositorysRpcFilterModel);
}
